package com.blank.shop.seata.domain;

import lombok.Data;

import java.io.Serializable;

/**
 * @author _blank
 */
@Data
public class Storage implements Serializable {
    private static final long serialVersionUID = -764002987867704688L;

    private Long id;

    /**
     * 产品id
     */
    private Long productId;

    /**
     * 总库存
     */
    private Integer total;

    /**
     * 已用库存
     */
    private Integer used;

    /**
     * 剩余库存
     */
    private Integer residue;
}
